package com.example.saiaadmin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.saiaadmin.dto.DTOEbSystemDept;
import com.example.saiaadmin.entry.EbSystemDept;
import com.example.saiaadmin.mapper.EbSystemDeptMapper;
import com.example.saiaadmin.service.EbSystemDeptService;
import com.example.saiaadmin.utils.ResultData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 部门信息表Service实现类
 *
 *  @author  Vagrant
 * @since 2025/01/13
 */
@Service
public class EbSystemDeptServiceImpl extends ServiceImpl<EbSystemDeptMapper, EbSystemDept> implements EbSystemDeptService {

    @Autowired
    private EbSystemDeptMapper mapper;
    @Override
    public List<DTOEbSystemDept> accessDept(DTOEbSystemDept ebSystemDept) {
        return mapper.accessDept(ebSystemDept);
    }
}
